<?php

namespace StudyBuddy;

class UserLinkedin extends UserExternal {

    /**
     * Return HTML code for avatar image (with full path)
     * @param string $sSize type of avatar: large, medium, tiny
     * @param bool $boolNoCache if true, then add a timestamp to url, making
     * browser not to use cached version and to get a fresh new one
     *
     * @return string the HTML code for image src which actually
     * includes 2 images - an avatar and a tiny LinkedIn icon.
     */
    public function getAvatarImgSrc($sSize = 'medium', $boolNoCache = false) {
        $strAvatar = parent::getAvatarImgSrc($sSize, $boolNoCache);
        $strAvatar .= '<img width="14" height="14" class="iconfb" alt="LinkedIn User" src="/images/linkedin_16.png">';

        return $strAvatar;
    }

}
